Sensor system and method, in particular for determining distances

ABSTRACT

The invention relates inter alia to a sensor system ( 50 ) used for distance calculation. A setpoint selection unit ( 58 ) controls an amplifier unit ( 54 ) and/or a sensor unit ( 52 ) depending on selectable setpoints for a cycle of detection. Contrary to known sensor systems, different detection cycles can be carried out in a very simple manner.

BACKGROUND INFORMATION

[0001] The present invention relates to a sensor system, in particular for determining distances, which contains a sensor unit, an amplifier unit, and a predefining unit. The sensor unit operates in different detection areas during a detection cycle. At least one sensor signal is generated, as a function of the detection area, whose signal values are affected by an object located in the detection area. The amplifier unit is controllable and amplifies the sensor signal as a function of the value of a gain parameter. The predefining unit is used for predefining different values for the gain parameter during a detection cycle.

[0002] Known sensor units operate according to the pulse echo principle, in which the duration of a pulse in a pulse train determines the periods of time in which ultrasound waves or microwaves are emitted into the detection area of the sensor. An object reflects the waves as an echo to the sensor. The signals received by the sensor are analyzed to determine whether an object that exceeds a certain size is located in a certain detection area. Measuring cells, for example, which subdivide a close range, for example, a range from 0 meters to 7 meters using a grid spacing of 3 cm, form detection areas.

[0003] In pulse echo sensors, the relationship between energy E reflected by the obstacle and distance d of the sensor unit to the object reflecting the waves is not linear. The following approximate relationship applies:

E=1/d ^(x)  (1)

[0004] where x is an exponent dependent on the design of the sensor unit.

[0005]FIG. 1 shows a schematic diagram of a known circuit 10 for specifying the values of a gain factor VF1 of an amplifier 12. Amplifier 12 is a controllable analog amplifier, e.g., of the type CA3080. A sensor signal on an input line 14 is amplified as a function of gain factor VF1. An amplified sensor signal is output to an output line 16, to which the output of amplifier 12 is connected. Output line 16 is connected to an analyzer circuit (not shown).

[0006] Gain factor VF1 is determined by the current at a control input of the amplifier. The control input is connected to a control line 18, which is connected to a tap 20 of a voltage divider, having resistors R1 and R2, located between ground and positive operating voltage VCC. A capacitor C is connected in parallel with resistor R2. Resistors R1, R2 and capacitor C form an RC element 22.

[0007] In the known sensor unit, 256 measuring cells spaced at 3 cm, for example, are measured during a detection cycle. For example, 300 wave packets are emitted within a measuring cell. The signals generated by the reflected waves are added up in the sensor unit. The processing of a measuring cell is completed after approximately 50 μs. The time of one detection cycle for all measuring cells is approximately 10 ms.

[0008] In the known sensor, the sequence of the detection areas and their duration is fixedly predefined by the design of a sensor unit. The values of gain factor VF1 are adjusted to the measuring ranges and thus also fixedly predefined. The gain factor of amplifier 12 is set by RC element 22. The application of a voltage to RC element 22 is synchronized with the beginning of a detection cycle. During the detection cycle, the voltage across RC element 22 increases exponentially as the distance of the detection area to the sensor unit increases. Due to this measure, the same object generates approximately the same output voltage across the amplifier in all detection areas. This simplifies further processing of the sensor signal.

[0009] The object of the present invention is therefore to provide a simplified sensor system and a simplified method that is usable, in particular for distance determination.

ADVANTAGES OF THE INVENTION

[0010] The present invention, according to claim 1 and 10, is based on the principle that a fixed relationship between the gain factor and the processed detection area must be observed for optimum detection. This relationship, however, does not necessarily have to result in a rigid definition of the gain parameter values or of the selection of the detection areas.

[0011] In the sensor system according to the present invention, a control unit is used which triggers the amplifier unit and/or the predefining unit automatically differently using different predefined values for different detection cycles as a function of selectable predefined values for a detection cycle. Due to this measure, it is possible to continue to take into account the relationship between the detection area and the gain factor. In addition, it is possible to take into account predefined values and conditions which require a different relationship between gain factor and detection areas or another use of this relationship, e.g., in the case of a limited measuring range. Such a condition is, for example, the temperature at which the sensor system operates.

[0012] The predefined values may be established as a function of the situation. For example, for a small amplitude of the sensor signal in a certain detection area, the value of the gain parameter and thus the gain may be increased. As an alternative, for example, a plurality of measurements may also be performed in the same detection area as a function of the situation in order to increase the measurement accuracy by forming an average value, for example.

[0013] The predefined values may also be derived from previous measured values. A “teachable” sensor system is thus obtained.

[0014] Advantageous refinements of and improvements on the object of the present invention are found in the subclaims.

[0015] In a refinement of the sensor system according to the present invention, the predefining unit contains a processor which executes instructions of a control program. By using a processor, the sequence of the detection areas, the values of the gain parameters and, if appropriate, also the time for processing a detection area may be determined in a simple and flexible manner.

[0016] Instead of a predefining unit where detection areas and gain parameter values are hard-wired into the device, although different predefined values may be selected, a predefining unit having a processor by using standardized components and standardized circuits may be constructed.

[0017] In another refinement, the predefining unit is connected to the sensor unit and to the amplifier unit via transmission paths for transmitting data words, e.g., via a bus system. The predefining unit transmits data words to the sensor unit and/or the amplifier unit. Then, a detection area is set in the sensor unit as a function of the value of the data word received. As an alternative, the system goes through a sequence of detection areas as a function of the value of the data word received. The value of the gain parameter is determined in a similar manner in the amplifier unit as a function of the value of the data word received. In one embodiment, the value of the data word is used as the value of the gain parameter. In an alternative embodiment, a sequence of values for the gain parameter is selected as a function of the value of the gain parameter and used after a predefined time period. Should the value of the data word be used as the value of the gain parameter, a digital-analog converter may be used, for example, to influence the gain of a current-controlled amplifier.

[0018] In another refinement of the sensor system having a processor, an analog/digital converter unit which generates a data word as a function of the signal value of the amplified sensor signal and transmits it to the predefining unit is connected to the output of the amplifier unit. The predefining unit causes a detection result to be output as a function of the data words received during a detection cycle. In this refinement, the processor has a dual function. It is used for predefining the detection areas and/or the gain parameter values, as well as for analyzing the detection cycle(s).

[0019] In another embodiment, the predefining unit is connected to a temperature sensor, for example, to a PTC (positive temperature coefficient) element. The predefining unit controls the sensor unit and/or the amplifier unit also as a function of the output signal of the temperature sensor. The effect of temperature on the measurement result may be determined using formulas or measurements. The predefining unit and/or the amplifier unit are triggered so that the effect of the temperature on the measurement result is compensated for. For example, a transmitter element of the sensor unit has its best performance at approximately 40° C. At 80° C. this performance is as much as 10 times less. The value of the gain factor or of a threshold value with which the amplified measurement signal is compared, for example, is changed as a function of the temperature in order to determine whether an object in the current detection area is greater than a certain reference object.

[0020] In another embodiment, the predefining unit provides different threshold values during a detection cycle. The threshold values are compared to the amplified sensor signal in a comparator unit. As a function of the comparison result, it is determined whether or not an object is located in the detection area. By generating different threshold values, degrees of freedom are obtained for the determination of the gain parameter values within a detection cycle. For example, the gain parameter value may be held constant when processing consecutive detection areas. However, the value of the threshold value is reduced as required by the above formula (1). It may be simpler to simulate the function represented by formula (1) as an inverse of this function.

[0021] In one embodiment, the sensor unit of the sensor system contains at least one transmitter unit for transmitting electromagnetic waves or sound waves, and at least one receiver unit for receiving electromagnetic waves or sound waves which are reflected by the object. Microwaves in the gigahertz range are used as electromagnetic waves. The sound waves preferably have a frequency in the ultrasound range. A sensor unit having such a design operates according to the above-described pulse echo principle in different detection areas.

[0022] In one embodiment of the sensor system, the selectable predefined values are the temperature in the surroundings of the sensor system and/or the chronological sequence of the processing of detection areas and/or the selection of detection areas.

[0023] In another embodiment, the value of the gain factor is maintained unchanged for a plurality of consecutive detection areas. In this case, threshold values must be modified from one detection area to another. The operation of the amplifier is more stable if the gain factor is not constantly modified.

[0024] The present invention furthermore relates to a method, in particular for determining distances, which is carried out using the functions of the sensor system according to the present invention. In further refinements of the method, steps implementing the functions of the refinements of the sensor system are also carried out. The aforementioned technical effects thus also apply to the method according to the present invention and its refinements.

[0025] The object named above with reference to a sensor system is also achieved using a sensor system having the features of Patent claim 11. Refinements are provided with the respective subclaims.

[0026] The sensor system according to a second aspect contains a sensor unit, an amplifier unit, a gain predefining unit, a threshold value predefining unit, and a comparator unit. The threshold value predefining unit is used for generating a threshold value. The threshold value is compared with the amplified sensor output signal in the comparator unit. A signal, whose value indicates whether an object is located in a detection area, is generated as a function of the comparison result.

[0027] The present invention is based on the principle that degrees of freedom are obtained for predefining the values of the gain parameter if different threshold values, rather than one constant threshold value, are used within a detection cycle.

[0028] In one embodiment of the sensor system according to a second aspect of the present invention, this principle is made use of, and the same values of the gain factor are predefined by the predefining unit when processing a plurality of consecutive detection areas. Predefining the values of the gain factor may be simplified in this way because the gain factor does not have to be changed until the consecutive detection areas have been processed. On the other hand, however, the threshold values are modifiable according to a function which differs from a function that modifies the values of the gain parameter at a constant threshold value. The function for predefining the threshold values may be easier to determine than the function for predefining the values of the gain parameter. The function is very similar to the one given by equation (1) and is determinable via simple measurements. Furthermore, the amplifier operates in a more stable manner if the value of the gain factor is changed less frequently.

[0029] In one embodiment, the gain and threshold value predefining unit are implemented in one unit which contains a processor.

[0030] When using a processor in the sensor system, in one embodiment data words are transmitted between the gain predefining and threshold value predefining units and the sensor unit, as well as the amplifier unit, for example, via a bus system.

[0031] In another embodiment, the processor is also used for analyzing the detection. This dual function justifies the cost of using a processor.

[0032] In addition, the present invention relates to a method during whose execution the functions of the sensor system are implemented using different threshold values. The functions of the refinements of the sensor system are also implemented, using different threshold values, in embodiments of this method. The above-mentioned technical effects thus also apply to the method.

[0033] The present invention also relates to computer programs, using which the methods according to the present invention are implementable. Furthermore, it relates to data storage media for storing these computer programs, for example, CDs (compact discs) or memory circuits.

DRAWINGS

[0034] Exemplary embodiments of the present invention are illustrated in the drawing and elucidated in more detail in the description that follows.

[0035]FIG. 1 shows a schematic diagram of a known circuit for predefining values of a gain factor;

[0036]FIG. 2 shows a sensor system for distance determination;

[0037]FIG. 3 shows a gain curve, a measuring curve, and a measuring curve obtained when using the gain curve; and

[0038]FIG. 4 shows a measuring curve obtained when using the gain curve and a threshold value curve derived therefrom.

DESCRIPTION OF THE EXEMPLARY EMBODIMENTS

[0039] In the figures, the same reference symbols denote the same elements or elements having the same function.

[0040]FIG. 2 shows a sensor system 50, which contains a sensor module 52, an amplifier 54, an analog/digital converter 56, a processor 58 (μC microcontroller), and a control unit 60. The sensor module operates according to the known pulse echo principle explained above. The design of the sensor module does not need to be described in detail, since the function of its components is known; for example, the function of a dielectric radar oscillator, the function of radar transmitting and radar receiving antennas, and the function of a mixer contained in the radar unit. Such sensor modules 52 are manufactured and sold by the K6-AS company (formerly Motometer). The units operating at lower frequencies, however, are illustrated in FIG. 2.

[0041] A line 62 connects the output of sensor module 52 to the input of amplifier 54. The sensor signal is transmitted over line 62. Amplifier 54 is of the type CA3080, for example. From the sensor signal received at the input, an amplified sensor signal is generated at the output of amplifier 54 as a function of the value of a gain factor VF2 and transmitted to A/D converter 56 via an output line 64. Converter 56 converts the analog signal received at its output into a digital data word which is transmitted to processor 58 via a bus 66 a plurality of parallel data lines. Processor 58 executes a control program whose instructions are stored in a memory unit (not illustrated) of sensor system 50. Processor 58 predefines data words, whose values denote the current measuring area, for sensor module 52 via bus system 66. predefines data words, whose values determine the value of gain factor VF2, for amplifier 54 via bus system 66. Digital/analog converter units (not illustrated) are located between bus system 66 and sensor module 52, and between bus system 66 and the control input of amplifier 54.

[0042] Sensor system 50 also contains a temperature sensor 68, which generates a digital output signal as a function of the temperature at which sensor system 50 is operating. The temperature is transmitted, using a data word, from temperature sensor 68 to processor 58 via data bus 66.

[0043] Control unit 60 contains, for example, a keyboard and a display unit. Bus system 66 is also used for connecting control unit 60 to processor 58.

[0044] The function of sensor unit 50, in particular in predefining the detection areas and gain factor VF2 via processor 58, is elucidated with reference to FIGS. 3 and 4. The function of processor 58 in taking into account the temperature detected by temperature sensor 68 is explained in connection with FIGS. 3 and 4.

[0045]FIG. 3 shows a stepped gain curve 100, a measuring curve 102, and a measuring curve 104, which is obtained via amplification of the signal values of measuring curve 102 by the particular gain factors determined by gain curve 100.

[0046] The measured distance in centimeters is plotted on an x axis 106. A detection cycle detects in this embodiment a measuring range of 25 cm to 2 m. The measuring range is subdivided into measuring cells spaced 3 cm apart.

[0047] A y axis 108 is used for representing the values of gain factor VF2. The gain factor is varied in a range of 1 to 6.25 within a detection cycle. y axis 108 is used in connection with gain curve 100. Another y axis 110 is used for representing the amplitude values of the measuring signals that belong to measuring curves 102 and 104. The voltage values of these signals are between 0 volts and 2.5 volts.

[0048] The individual measuring cells are processed by processor 58 in approximately 50 μs each. During this time the sensor module generates approximately 300 radar pulses which, if an object is located in the particular measuring cell, are received again as reflected radar pulses and added up. The added up signal is transmitted via line 62. Processor 58 transmits to sensor module 52 a data word denoting the measuring cell starting at 25 cm. After 50 μs, processor 58 transmits a data word denoting the next measuring cell, i.e., the one starting at 28 cm, and so forth.

[0049] A maximum object, for example, a steel wall having the dimensions of the back of a truck having a frame for containers, is measured to determine the gain factors. The normal to the steel wall points to sensor module 52 during the measurement. The steel wall is placed consecutively into the different measuring cells, starting with the measuring cell at 25 cm up to the measuring cell at 2 m. The radar pulses reflected by the steel wall are added up for a period of 50 μs and provide sensor signals which are represented by measuring curve 102. For a distance of 25 cm between steel wall and sensor module, a signal having an amplitude of approximately 2.5 volts is obtained (see measuring point 112). For a distance of 100 cm, the amplitude is only approximately 1 volt (see measuring point 114). Measuring curve 102 may be described using formula (1).

[0050] Amplifying the sensor signal with different gain factors VF2 allows an analog/digital converter 56 having a smaller bit length to be used (see gain curve 100). In the measuring area between 25 cm and 50 cm, gain factor VF2 has the value 1. In the area between 50 cm and 75 cm, gain factor VF2 has the 2.5-fold value, i.e., the value 2.5. In the area between 100 cm and 200 cm, a gain factor increased again by the factor 2.5 and having the value 6.25 is used. The values of gain factor VF2 are determined in such a way that the amplified sensor signal represented by curve 104 has amplitude values between 1 volt and 2.5 volts. This means that the value of gain factor VF2 must be increased when the value of the amplified sensor signal drops below 1 volt. Measuring curve 104 thus obtained has a saw tooth shape, where the limits of the individual “teeth” are predefined by the measuring distances at which the value of gain factor VF2 is modified, here at 50 cm and 100 cm. These values are stored in a memory. The values of gain factor VF2 are transmitted by processor 58 to amplifier 54. At a certain point in time, processor 58 transmits the data word, which denotes the measuring cell located at 50 cm, to the sensor module. Immediately thereafter, a data word containing the value 2.5, for example, is sent to amplifier 54. This value is used as the new value of gain factor VF2. Another data word is transmitted by processor 58 to amplifier 54 when a data word for denoting the measuring cell that begins at 100 cm was transmitted to the sensor module immediately before.

[0051]FIG. 4 shows a measuring curve 104 a, which is an enlarged representation of measuring curve 104. An x axis 106 a denotes the distances of measuring cells from sensor module 52 in centimeters. Essentially, x axis 106 a corresponds to x axis 106. A y axis 110 a is an enlarged representation of y axis 100. A threshold value curve 116, which determines a threshold value for each measuring cell, is obtained by multiplying the amplitude values of measuring curve 104 a by the factor 0.25. The amplitude values of the threshold values of threshold value curve 116 are 25% of the amplitude values of measuring curve 104 for the same measuring cells. Threshold value curve 104 is stored in the memory unit of the sensor system. The data words coming from converter 56 are compared with the data words containing the amplitude values of threshold value curve 116. If the value of the data word coming from converter 56 is greater than the threshold value, this means that an object is located in the currently processed measuring cell. Objects that are considerably smaller than the maximum object are also detected. However, if the value of the data word coming from converter 56 is less than the amplitude value of threshold value curve 108 in the current measuring area, no object is detected in the measuring cell, since it is assumed that the reflected signal is caused by very small objects such as grass or road debris.

[0052] The temperature has a considerable effect on the performance of the radar oscillator in the sensor module. For example, the radar oscillator has its highest performance at 40° C. and a performance reduced ten-fold at 80° C. The control program for processor 58 is programmed in such a way that the values of gain factor VF2 are selected as a function of the temperature in the first exemplary embodiment. With higher temperatures, larger values are used for gain factor VF2 so that the same amplitude values are obtained for the same objects despite the reduced performance of the radar oscillator at higher temperatures. Threshold value curve 116 is independent of the temperature.

[0053] In contrast, in a second exemplary embodiment, threshold value curve 108 is predefined as a function of the temperature. The values of the gain factor remain unaffected by the temperature and follow a curve, for example, shown in FIG. 3. As the temperature increases, the factor for determining threshold value curve 108 from measured value curve 104 a decreases in order to compensate for the effect of the temperature on the performance of the radar oscillator.

[0054] In a third exemplary embodiment, both the values of the gain factor and the threshold values are varied as a function of the temperature.

[0055] In a fourth exemplary embodiment, the measuring range may be changed using control unit 60. For example, instead of the measuring area from 25 cm to 200 cm, a measuring area from 0 cm to 7 m is processed. The processor transmits different data words to sensor module 52 and amplifier 54 as a function of the particular measuring request.

[0056] Although the present invention has been described above with reference to preferred exemplary embodiments, it is not limited thereto, but is modifiable in a plurality of ways. 

What is claimed is:
 1. A sensor system (50) for determining distances, comprising a sensor unit (52) which operates in different detection areas during a detection cycle and generates, as a function of the detection area, at least one sensor signal (62) whose signal values are affected by an object located in the detection area; a controllable amplifier unit (54) for amplifying the sensor signal (62) as a function of the value of a gain parameter (VF2); and a gain predefining unit (58) for predefining different values for the gain parameter (VF2) during a detection cycle, wherein the gain predefining unit (58) sets a constant gain parameter for the detection area as a function of the detection area to be examined; the gain predefining unit (58) predefines different threshold values (108) during a detection cycle, which are different for a plurality of consecutive detection areas; and, as a function of the result of the comparison of the amplified sensor signal (64) to the threshold values, it is determined, whether an object of a certain size is located in the detection area.
 2. The sensor system (50) as recited in claim 1, wherein the gain predefining unit (58) contains a processor which executes instructions of a control program.
 3. The sensor system (50) as recited in claim 2, wherein the gain predefining unit (58) is connected to the sensor unit (52) and the amplifier unit (54) via transmission paths (66) for transmitting data words having a predefined number of bit positions, the gain predefining unit (58) transmits a data word to the sensor unit (52) and/or the amplifier unit (54), the sensor unit (52) sets the detection areas as a function of the data word(s) received, and/or the amplifier unit (54) sets the value of the gain parameter (VF2) as a function of the data word(s) received.
 4. The sensor system (50) as recited in claim 2 or 3, characterized by an analog/digital converter unit (56), connected to the output of the amplifier unit (54), which generates a data word as a function of the signal value at its input and transmits it to the gain predefining unit (58), the gain predefining unit (58) causing a detection result to be output as a function of the data words received during a detection cycle.
 5. The sensor system (50) as recited in one of the preceding claims, characterized by a temperature sensor (68) connected to the gain predefining unit (58), the output signal (66) of the temperature sensor depending on the temperature at which the sensor system (50) operates, the gain predefining unit (58) controlling the sensor unit (52) and/or the amplifier unit (54) also as a function of the output signal of the temperature sensor (68).
 6. The sensor system (50) as recited in one of the preceding claims, wherein the sensor unit (52) contains at least one transmitter unit for transmitting electromagnetic waves or sound waves, and at least one receiver unit for receiving electromagnetic waves or sound waves which are reflected by the object.
 7. A method of determining distances, in which a sensor unit (52) operates in different detection areas during a detection cycle; the sensor unit (52) generates at least one sensor signal (62), whose signal values are affected by an object located in the detection area; the sensor signal (62) is amplified as a function of a gain parameter (VF2); different values of the gain parameter (VF2) are predefined during a detection cycle, wherein a constant gain factor is set for the detection area as a function of the detection area to be examined, a threshold value is used for the detection area, and as a function of a comparison with the threshold value, it is determined, whether an object of a certain size is located in the detection area. 